package homework02;

public class Demo {
    public static void main(String[] args) {
        Cat cat = new Cat("黑色", 4);
        cat.eat();
        cat.catchMouse();
        System.out.println("------------------");


        Dog dog = new Dog("黄色",4);
        dog.eat();
        dog.lookHome();


    }
}
